package com.ruoyi.user.model.pojo.request.app;

import com.ruoyi.common.core.annotation.valid.group.ValidGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@ApiModel(description = "设置好友备注名称参数")
public class AppUserSetNoteNameRequest {

    @ApiModelProperty("对方用户id")
    @NotNull(message = "对方用户不能为空", groups = {ValidGroup.Insert.class, ValidGroup.Update.class})
    private Long aimUserId;

    @ApiModelProperty("备注名称")
    @NotBlank(message = "备注名称不能为空", groups = {ValidGroup.Insert.class, ValidGroup.Update.class})
    private String noteName;
}
